using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace QLTV.Reports
{
    public partial class rptCountTrainingCrewCourse : DevExpress.XtraReports.UI.XtraReport
    {
        public rptCountTrainingCrewCourse()
        {
            InitializeComponent();
        }

        public DateTime CreatedDate
        {
            get;
            set;
        }

        private void rptCountTrainingCrewCourse_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            lblCreatedDate.Text = this.CreatedDate.ToShortDateString();
            lblNguoiXuatFile.Text = Program.EmployeeName;
            dsReport.EnforceConstraints = false;
            //tblCountTrainingCrewCourseAdapter.Fill(dsReport.tblCountTrainingCrewCourse,this.CreatedDate);
        }

    }
}
